Matthias Clasen [Sat, 31 Jul 2004 04:45:09 +0000 (04:45 +0000)]
Don't set both states at once. (#148789, Matthew Garret)
Sat Jul 31 00:42:08 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
set both states at once. (#148789, Matthew Garret)
Matthias Clasen [Fri, 30 Jul 2004 22:55:28 +0000 (22:55 +0000)]
*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 20:55:17 +0000 (20:55 +0000)]
Change the api for separators to use a separator function instead of a
2004-07-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Change the api for separators to use a
separator function instead of a boolean column.
* tests/testcombo.c: Update to match the api change.
Kartik B. Mistry [Fri, 30 Jul 2004 15:38:25 +0000 (15:38 +0000)]
*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 06:22:26 +0000 (06:22 +0000)]
Fix the positioning of the popup.
Fri Jul 30 02:21:41 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Fix the positioning of the popup.
Matthias Clasen [Fri, 30 Jul 2004 04:58:52 +0000 (04:58 +0000)]
Implement this in terms of gtk_combo_box_get_active_iter(), instead of
Fri Jul 30 00:56:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed):
Implement this in terms of gtk_combo_box_get_active_iter(),
instead of gtk_combo_box_get_active().
Federico Mena Quintero [Thu, 29 Jul 2004 20:53:52 +0000 (20:53 +0000)]
Add a field for an "add to shortcuts" menu item. (popup_menu_detach_cb):
2004-07-29 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
a field for an "add to shortcuts" menu item.
(popup_menu_detach_cb): Clear out the field.
(file_list_build_popup_menu): Only build the menu here.
(file_list_update_popup_menu): Build the menu, then update the
sensitivity of its items.
(file_list_popup_menu): Use file_list_update_popup_menu().
(bookmarks_check_add_sensitivity): Also set the sensitivity of the
popup menu item. Correctly handle the case for a *single* file.
Simplify a bit.
(bookmarks_add_selected_folder): New helper function; code moved
over from add_bookmark_button_clicked_cb().
(add_bookmark_button_clicked_cb): Use the function above.
(selection_check): Rather than returning a boolean value for
emptiness, actually return the number of selected rows. Also,
simplify a bit.
(get_selected_path): New helper function.
Anders Carlsson [Thu, 29 Jul 2004 15:40:35 +0000 (15:40 +0000)]
Add clipboard demo.
2004-07-29 Anders Carlsson <andersca@gnome.org>
* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/clipboard.c: (copy_button_clicked),
(paste_received), (paste_button_clicked), (do_clipboard):
Add clipboard demo.
Federico Mena Quintero [Thu, 29 Jul 2004 01:26:51 +0000 (01:26 +0000)]
Store signal IDs in gulongs, not guints!
2004-07-28 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Store signal IDs in gulongs, not guints!
(gtk_file_chooser_default_hierarchy_changed): We now monitor the
focus widget on our toplevel to know which widget was last focused
at the time our "should_respond" method gets called.
(shortcuts_activate_selected): New helper function.
(shortcuts_get_selected): New helper function.
(remove_selected_bookmarks): Use shortcuts_get_selected().
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_reorder): Likewise.
(shortcuts_activate_iter): Renamed from shortcuts_activate_item().
Activate by iter, not by item number.
(save_folder_combo_changed_cb): Use shortcuts_activate_iter().
(shortcuts_row_activated_cb): Likewise.
(gtk_file_chooser_default_should_respond): If the last focused
widget on the toplevel was the shortcuts list, activate the
selected shortcut.
cinamod [Wed, 28 Jul 2004 16:19:05 +0000 (16:19 +0000)]
don't add tearoffs to GtkComboBoxes
Matthias Clasen [Wed, 28 Jul 2004 16:04:53 +0000 (16:04 +0000)]
Make the fb backend compile against current freetype. (#148558, Nicolas
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against
current freetype. (#148558, Nicolas Deves)
Matthias Clasen [Wed, 28 Jul 2004 15:57:07 +0000 (15:57 +0000)]
Replace the EXPANDER_MAX macro by ROW_HEIGHT. (#145528)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by
ROW_HEIGHT. (#145528)
Matthias Clasen [Wed, 28 Jul 2004 15:30:16 +0000 (15:30 +0000)]
Warning fixes.
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Warning fixes.
Matthias Clasen [Wed, 28 Jul 2004 13:51:48 +0000 (13:51 +0000)]
Fix prototype mismatch. (#148589, Nicolas Deves)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix
prototype mismatch. (#148589, Nicolas Deves)
Anders Carlsson [Tue, 27 Jul 2004 23:19:19 +0000 (23:19 +0000)]
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
2004-07-28 Anders Carlsson <andersca@gnome.org>
* gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only):
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
Anders Carlsson [Tue, 27 Jul 2004 21:58:27 +0000 (21:58 +0000)]
Fix ChangeLog
Anders Carlsson [Tue, 27 Jul 2004 21:58:09 +0000 (21:58 +0000)]
Add gdk_draw_rectangle_alpha_libgtk_only which uses XRenderFillRectangle
2004-07-27 Anders Carlsson <andersca@gnome.org>
* demos/gtk-demo/iconview.c: (do_iconview):
* gdk/gdkdrawable.h:
* gdk/linux-fb/gdkdrawable-fb2.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/win32/gdkdrawable-win32.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image),
(get_impl_drawable), (gdk_x11_draw_pixbuf),
(gdk_draw_rectangle_alpha_libgtk_only):
Add gdk_draw_rectangle_alpha_libgtk_only which uses
XRenderFillRectangle on X11. It's stubbed out on the
Win32 and fb backends.
* gtk/gtkiconview.c:
(gtk_icon_view_paint_rubberband):
Use gdk_draw_rectangle_alpha_libgtk_only here.
Anders Carlsson [Tue, 27 Jul 2004 17:28:26 +0000 (17:28 +0000)]
Remove dialog separators, fix text view background setting, use Close
2004-07-27 Anders Carlsson <andersca@gnome.org>
* gtk/gtkaboutdialog.c: (gtk_about_dialog_init),
(text_view_style_set), (add_credits_page),
(display_credits_dialog), (display_license_dialog):
Remove dialog separators, fix text view background setting,
use Close buttons instead of OK buttons.
Matthias Clasen [Tue, 27 Jul 2004 17:00:25 +0000 (17:00 +0000)]
Add a frame around the C-f popup to stop it from merging visually in
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
Add a frame around the C-f popup to stop it from merging visually
in whatever is underneath.
Matthias Clasen [Tue, 27 Jul 2004 16:42:06 +0000 (16:42 +0000)]
Add gtk_combo_box_get_popup_accessible.
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_combo_box_get_popup_accessible.
Matthias Clasen [Tue, 27 Jul 2004 16:37:37 +0000 (16:37 +0000)]
New function necessary to make GtkComboBox accessible. (#132847, Padraig
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Matthias Clasen [Tue, 27 Jul 2004 06:35:51 +0000 (06:35 +0000)]
Hide parentless windows when disposing them. (#133231, Michael Natterer)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
Matthias Clasen [Mon, 26 Jul 2004 17:38:56 +0000 (17:38 +0000)]
Expand the documentation for GtkLabel::ellipsize.
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
for GtkLabel::ellipsize.
Matthias Clasen [Mon, 26 Jul 2004 14:47:17 +0000 (14:47 +0000)]
*** empty log message ***
Christian Rose [Mon, 26 Jul 2004 06:02:41 +0000 (06:02 +0000)]
Fix for #148437. Thanks to Robert Ögren for discovering the problem.
2004-07-26 Christian Rose <menthos@menthos.com>
* po/sv.po, po-properties/sv.po: Fix for #148437. Thanks to
Robert Ögren for discovering the problem.
Matthias Clasen [Mon, 26 Jul 2004 04:50:07 +0000 (04:50 +0000)]
Make the GtkComboBox in list mode scroll if the list is too large to fit
Mon Jul 26 00:38:27 2004 Matthias Clasen <maclas@gmx.de>
Make the GtkComboBox in list mode scroll if the list is too
large to fit in the popup. (#135543)
* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a
scrolled window to the popup in list mode.
(gtk_combo_box_list_position): Calculate the height of the
popup so that it fits on the screen, set the scrollbar policy
of the scrolled window appropriately.
(gtk_combo_box_popup): Use the height calculated by
gtk_combo_box_list_position().
(gtk_combo_box_remeasure): Don't add unnecessary padding.
(gtk_combo_box_size_request): But add the focus with here.
(gtk_combo_box_list_setup): Connect to enter notify on the
popup window to activate auto scrolling.
(gtk_combo_box_list_enter_notify): Activate auto scrolling.
(gtk_combo_box_list_button_pressed): Setup a timeout for
auto scrolling.
(gtk_combo_box_list_scroll_timeout): Timeout function for
auto scrolling.
(gtk_combo_box_list_auto_scroll): Scroll the list when the
pointer leaves the window.
Matthias Clasen [Sun, 25 Jul 2004 23:53:15 +0000 (23:53 +0000)]
Ignore scroll events from the content of the page. (#148409, Gabriel de
Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
events from the content of the page. (#148409, Gabriel
de Perthuis)
Soeren Sandmann [Sat, 24 Jul 2004 19:42:44 +0000 (19:42 +0000)]
Warn if you try to add a tool item to a toolbar using the deprecated API.
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
add a tool item to a toolbar using the deprecated API.
Matthias Clasen [Fri, 23 Jul 2004 17:06:44 +0000 (17:06 +0000)]
Create the change to initialize target_list to an empty list instead of
Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
initialize target_list to an empty list instead of NULL,
since it broke tree dnd. (#148215, Ernst Persson)
* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
handle target list being NULL here.
Dafydd Harries [Fri, 23 Jul 2004 15:37:27 +0000 (15:37 +0000)]
Improve various translatable messages.
Matthias Clasen [Fri, 23 Jul 2004 15:12:11 +0000 (15:12 +0000)]
align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
align the entry in the same way as the cell. (#136749)
Matthias Clasen [Fri, 23 Jul 2004 15:01:50 +0000 (15:01 +0000)]
Don't iterate too far up. (#147965, Olivier Sessink)
Fri Jul 23 11:00:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't iterate too far up. (#147965, Olivier Sessink)
Matthias Clasen [Fri, 23 Jul 2004 14:45:50 +0000 (14:45 +0000)]
Remove unnecessary checks. (#148175, Morten Welinder)
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
* gtk/gtkradioaction.c (gtk_radio_action_finalize):
* gtk/gtkfontsel.c (gtk_font_selection_finalize):
* gtk/gtkcellview.c (gtk_cell_view_finalize):
* gtk/gtkcalendar.c (gtk_calendar_finalize):
* gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
unnecessary checks. (#148175, Morten Welinder)
Gustavo Maciel Dias Vieira [Thu, 22 Jul 2004 15:07:26 +0000 (15:07 +0000)]
Updated Brazilian Portuguese translation done by Afonso Celso Medina
2004-07-22 Gustavo Maciel Dias Vieira <gustavo@sagui.org>
* pt_BR.po: Updated Brazilian Portuguese translation done by
Afonso Celso Medina <afmedina@uol.com.br>.
Matthias Clasen [Thu, 22 Jul 2004 14:55:53 +0000 (14:55 +0000)]
Forgotten file.
Amanpreet Singh Alam [Thu, 22 Jul 2004 08:34:31 +0000 (08:34 +0000)]
up
Matthias Clasen [Thu, 22 Jul 2004 05:45:19 +0000 (05:45 +0000)]
Add a new :ellipsize property which controls ellipsization of the rendered
Thu Jul 22 01:42:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
Add a new :ellipsize property which controls ellipsization of the
rendered text. (#144835, Vincent Untz, patch by Jonathan Blandford
and Anders Carlsson
* gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization
for the name column.
Matthias Clasen [Thu, 22 Jul 2004 05:27:18 +0000 (05:27 +0000)]
Add additional accessability relations. (#141804, Padraig O'Briain)
Thu Jul 22 01:21:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontsel.c (gtk_font_selection_init): Add additional
accessability relations. (#141804, Padraig O'Briain)
Matthias Clasen [Thu, 22 Jul 2004 05:16:58 +0000 (05:16 +0000)]
Avoid compiler warnings.
Dmitry Mastrukov [Thu, 22 Jul 2004 05:13:12 +0000 (05:13 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Matthias Clasen [Thu, 22 Jul 2004 05:06:39 +0000 (05:06 +0000)]
Require Pango 1.5.1 (for ellipsisation).
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation).
* gtk/gtklabel.h:
* gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsise
property which controls ellipsisation of the label. (#125250,
Tim Van Wassenhove, patch by James M. Cape)
* tests/testellipsise.c: Simple test for ellipsisation.
Matthias Clasen [Thu, 22 Jul 2004 03:00:48 +0000 (03:00 +0000)]
Don't leak the list store. (#148135, Crispin Flowerday)
Wed Jul 21 22:54:33 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text):
Don't leak the list store. (#148135, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:48:11 +0000 (02:48 +0000)]
Don't leak the list store. (#148134, Crispin Flowerday)
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:36:54 +0000 (02:36 +0000)]
Don't leak the menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
menu. (#148110, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 02:26:07 +0000 (02:26 +0000)]
Don't leak tree model and tree row reference. (#148125, Crispin Flowerday)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
tree model and tree row reference. (#148125, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:19:19 +0000 (02:19 +0000)]
Don't leak models. (#148128, Tommi Komulainen)
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
* tests/testcombo.c (main): Don't leak models. (#148128,
Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:28:33 +0000 (01:28 +0000)]
Don't leak the adjustments. (#148089, Tommi Komulainen)
Wed Jul 21 21:26:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkviewport.c (viewport_set_adjustment): Don't leak
the adjustments. (#148089, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:22:54 +0000 (01:22 +0000)]
Don't leak the adjustments. (#148073, Tommi Komulainen)
Wed Jul 21 21:20:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak
the adjustments. (#148073, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:08:53 +0000 (01:08 +0000)]
Don't leak the arrow. (#148064, Tommi Komulainen)
Wed Jul 21 21:04:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
arrow. (#148064, Tommi Komulainen)
Christian Rose [Wed, 21 Jul 2004 21:29:00 +0000 (21:29 +0000)]
Updated Uzbek translation by Mashrab Kuvatov
2004-07-21 Christian Rose <menthos@menthos.com>
* po/uz.po, po-properties/uz.po: Updated Uzbek translation
by Mashrab Kuvatov <kmashrab@sat.physik.uni-bremen.de>.
Matthias Clasen [Wed, 21 Jul 2004 16:53:55 +0000 (16:53 +0000)]
Use the new text target functionality in GtkTargetList instead of
2004-07-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Use the new text target functionality
in GtkTargetList instead of hardcoding a subset of text targets.
Guntupalli Karunakar [Wed, 21 Jul 2004 08:58:49 +0000 (08:58 +0000)]
updated hindi translation
Matthias Clasen [Wed, 21 Jul 2004 03:28:42 +0000 (03:28 +0000)]
Apply patches to unmaintained pieces of software...
Matthias Clasen [Wed, 21 Jul 2004 03:12:38 +0000 (03:12 +0000)]
Hook up gtk-menu-bar-accel to an XSetting, Gtk/MenuBarAccel. (#120859,
Tue Jul 20 23:11:23 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkevents-x11.c: Hook up gtk-menu-bar-accel to
an XSetting, Gtk/MenuBarAccel. (#120859, Scott James Remnant)
Matthias Clasen [Wed, 21 Jul 2004 02:30:19 +0000 (02:30 +0000)]
Remove trailing commas from enumerations. (#148035)
Tue Jul 20 22:26:29 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserutils.h:
* gtk/gtktoolbutton.c:
* gtk/gtktoolbar.c:
* gtk/gtkicontheme.c:
* gtk/gtkcalendar.c:
* demos/gtk-demo/ui_manager.c:
* demos/gtk-demo/appwindow.c: Remove trailing commas
from enumerations. (#148035)
Federico Mena Quintero [Tue, 20 Jul 2004 18:50:29 +0000 (18:50 +0000)]
Fix the documentation comment for the editing-started signal.
2004-07-20 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Fix the
documentation comment for the editing-started signal.
* gtk/gtkmarshalers.list: Added VOID:OBJECT,STRING for
GtkCellRenderer::editing-started.
Matthias Clasen [Tue, 20 Jul 2004 17:10:24 +0000 (17:10 +0000)]
Add some refcount debugging.
2004-07-20 Matthias Clasen <mclasen@redhat.com>
* tests/testactions.c (main):
* tests/testmerge.c (main): Add some refcount debugging.
* gtk/gtkuimanager.c (update_node, free_node): Ref an sink
all proxies, so that we can properly clean up floating proxies
which the app didn't adopt. (#147926, Tommi Komulainen)
Matthias Clasen [Tue, 20 Jul 2004 16:06:02 +0000 (16:06 +0000)]
Allow custom initialization of cell editables. (#147221)
2004-07-20 Matthias Clasen <mclasen@redhat.com>
Allow custom initialization of cell editables. (#147221)
* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a
::editing-started signal as a hook for setting up the
GtkCellEditable.
(gtk_cell_renderer_start_editing): ...and emit it here.
cinamod [Tue, 20 Jul 2004 15:58:29 +0000 (15:58 +0000)]
some menubar theming improvements
cinamod [Tue, 20 Jul 2004 15:46:44 +0000 (15:46 +0000)]
this makes inkscape look better
Matthias Clasen [Tue, 20 Jul 2004 05:02:26 +0000 (05:02 +0000)]
Fix ChangeLog
Matthias Clasen [Tue, 20 Jul 2004 04:48:15 +0000 (04:48 +0000)]
Set drag_pos before grabbing the focus, since we may reenter into
Tue Jul 20 00:45:38 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos
before grabbing the focus, since we may reenter into
gtk_tree_view_motion_resize_column() which requires drag_pos
to be set. (#147913, Guilherme Salgado, patch by John Finlay)
Matthias Clasen [Tue, 20 Jul 2004 04:05:42 +0000 (04:05 +0000)]
Don't use uninitialized node pointer. (#147911, Peter Zelezny)
Mon Jul 19 23:51:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer. (#147911, Peter Zelezny)
Soeren Sandmann [Tue, 20 Jul 2004 02:35:35 +0000 (02:35 +0000)]
Bump version number
Tue Jul 20 04:34:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* configure.in: Bump version number
Soeren Sandmann [Tue, 20 Jul 2004 02:26:06 +0000 (02:26 +0000)]
=== Released 2.5.0 ===
Sun Jul 18 17:21:10 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* === Released 2.5.0 ===
* NEWS: updates
* tests/testcombo.c: Fix compilation
Matthias Clasen [Mon, 19 Jul 2004 19:57:29 +0000 (19:57 +0000)]
Updates.
Matthias Clasen [Mon, 19 Jul 2004 19:33:05 +0000 (19:33 +0000)]
Typo fix.
Matthias Clasen [Mon, 19 Jul 2004 19:09:29 +0000 (19:09 +0000)]
Add bug ref`
Matthias Clasen [Mon, 19 Jul 2004 19:07:27 +0000 (19:07 +0000)]
Make GtkCellView public, since people seem to have uses for it, it is
2004-07-19 Matthias Clasen <mclasen@redhat.com>
Make GtkCellView public, since people seem to have uses for it,
it is clean API and we were just conservative in not making it
public initially. At the same time, get rid of GtkCellViewMenuItem,
which doesn't have any function which can't be served by a
GtkMenuItem with a GtkCellView child.
* gtk/gtk.h: Include gtkcellview.h
* gtk/Makefile.am (gtk_public_h_sources):
* gtk/Makefile.am (gtk_private_h_sources):
(gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
* gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
GtkMenuItem with a GtkCellView child.
* gtk/gtkcellviewmenuitem.[hc]: Removed.
Matthias Clasen [Mon, 19 Jul 2004 18:15:48 +0000 (18:15 +0000)]
Support inline autocompletion in entries (#135953)
2004-07-19 Matthias Clasen <mclasen@redhat.com>
Support inline autocompletion in entries (#135953)
* gtk/gtkentryprivate.h:
* gtk/gtkentrycompletion.h:
* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
Add a new signal ::insert-prefix which can be used to override
the default inline-completion behaviour. Add two new boolean
properties, :popup_completion and :inline_completion which
determine how the possible completions should be presented.
(gtk_entry_completion_insert_prefix): New function to request
a prefix insertion.
* gtk/gtkentry.c: Add the necessary glue for inline completion.
David Lodge [Sun, 18 Jul 2004 21:51:15 +0000 (21:51 +0000)]
Updated British translation.
2004-07-18 David Lodge <dave@cirt.net>
* en_GB.po: Updated British translation.
Soeren Sandmann [Sun, 18 Jul 2004 15:14:05 +0000 (15:14 +0000)]
Create an empty target list if targets is NULL.
Sun Jul 18 15:28:24 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
empty target list if targets is NULL.
* configure.in: Add check for X11/extensions/sync.h. (#147416,
Morten Welinder)
Matthias Clasen [Sun, 18 Jul 2004 05:24:55 +0000 (05:24 +0000)]
Updates for 2.5.0
Matthias Clasen [Sun, 18 Jul 2004 03:42:51 +0000 (03:42 +0000)]
Updates.
Matthias Clasen [Sun, 18 Jul 2004 03:39:50 +0000 (03:39 +0000)]
Add a new :orientation property to determine whether text is positioned
Sat Jul 17 23:11:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconview.h:
* gtk/gtkiconview.c (gtk_icon_view_class_init):
* gtk/gtkiconview.c (gtk_icon_view_set_orientation):
* gtk/gtkiconview.c (gtk_icon_view_get_orientation):
* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size):
* gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
Add a new :orientation property to determine whether text
is positioned below or beside icons. (#147463)
Matthias Clasen [Sun, 18 Jul 2004 03:05:24 +0000 (03:05 +0000)]
Draw focus indicator outside the selection, respect focus line width.
Sat Jul 17 23:03:30 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconview.c (gtk_icon_view_paint_item):
* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size):
* gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw
focus indicator outside the selection, respect focus
line width. (#147460)
Matthias Clasen [Sat, 17 Jul 2004 05:18:09 +0000 (05:18 +0000)]
Fix a warning message.
Matthias Clasen [Sat, 17 Jul 2004 04:58:02 +0000 (04:58 +0000)]
Support text/plain selection target (#55117, Owen Taylor)
Sat Jul 17 00:48:27 2004 Matthias Clasen <maclas@gmx.de>
Support text/plain selection target (#55117, Owen Taylor)
* gtk/gtkselection.h:
* gtk/gtkdnd.h:
* gtk/gtkselection.c (gtk_target_list_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
functions to facilitate handling of text targets.
* gtk/gtkentry.c:
* gtk/gtktextview.c: Use the new text target handling
functions instead of hardwiring the list of supported
text targets everywhere.
* gtk/gtkselection.c (gtk_selection_data_get_text):
(gtk_selection_data_set_text):
Support the targets text/plain, text/plain?charset=utf-8
and text/plain?charset=<LOCALE-CHARSET> as outlined in
#55117:
For text/plain send only ASCII, but accept 8-bit text
and treat it as ISO-8859-1 as specified by the Xdnd spec.
Always send CRLF terminators. Accept either and convert
into the native terminator for the platform.
Matthias Clasen [Sat, 17 Jul 2004 03:55:07 +0000 (03:55 +0000)]
Support named themed window icons.
Matthias Clasen [Fri, 16 Jul 2004 21:13:21 +0000 (21:13 +0000)]
Make scrolling work if no item is selected. (gtk_cell_editable_key_press):
2004-07-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make
scrolling work if no item is selected.
(gtk_cell_editable_key_press): Don't eat space.
Matthias Clasen [Fri, 16 Jul 2004 20:34:36 +0000 (20:34 +0000)]
Add GtkCellRendererCombo
Matthias Clasen [Fri, 16 Jul 2004 20:27:40 +0000 (20:27 +0000)]
Add a combo box cell renderer.
Matthias Clasen [Fri, 16 Jul 2004 14:33:21 +0000 (14:33 +0000)]
Don't iterate multiple times over some of the children.
2004-07-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate
multiple times over some of the children.
Matthias Clasen [Fri, 16 Jul 2004 13:48:38 +0000 (13:48 +0000)]
Add missing files. (#147688, Christian Rose)
2004-07-16 Matthias Clasen <mclasen@redhat.com>
* POTFILES.in: Add missing files. (#147688,
Christian Rose)
Matthias Clasen [Fri, 16 Jul 2004 02:22:48 +0000 (02:22 +0000)]
Fix #60128, #58307, #144706:
Thu Jul 15 22:19:40 2004 Matthias Clasen <maclas@gmx.de>
Fix #60128, #58307, #144706:
* gtk/gtkstyle.c (gtk_style_real_copy): Handle references
to bg_pixmaps properly.
(gtk_style_real_unrealize): Don't keep dangling references
to the bg_pixmaps.
(gtk_style_attach): Split the loop into two loops, first
looking for a matching style, then for an empty one.
(gtk_style_finalize):
(gtk_style_duplicate): Add comments explaining the handling
of style->styles.
Matthias Clasen [Fri, 16 Jul 2004 00:38:06 +0000 (00:38 +0000)]
Install the timeout before changing the value, so that a ::value_changed
Thu Jul 15 20:31:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkspinbutton.c (start_spinning): Install the timeout
before changing the value, so that a ::value_changed handler
has a chance to remove it. (#122427, Elke Meier)
Matthias Clasen [Thu, 15 Jul 2004 23:24:51 +0000 (23:24 +0000)]
Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder)
Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale):
* gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot'
instead of 'can not' in messages. (#144226, Morten Welinder)
Matthias Clasen [Thu, 15 Jul 2004 17:52:34 +0000 (17:52 +0000)]
Correct the declared default values of several properties to be in sync
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
Correct the declared default values of several properties
to be in sync with the actual initial values.
Matthias Clasen [Thu, 15 Jul 2004 17:48:04 +0000 (17:48 +0000)]
Correct the declared default values of several properties to be in sync
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.
Matthias Clasen [Thu, 15 Jul 2004 17:37:06 +0000 (17:37 +0000)]
Make spacing a property, correct the declared default values of several
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial
values. (#147654, Matthias Clasen)
Matthias Clasen [Thu, 15 Jul 2004 16:43:55 +0000 (16:43 +0000)]
Don't reparent back to menu->toplevel if it is already gone because we're
2004-07-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent
back to menu->toplevel if it is already gone because we're
shutting down. (#147656, John Cupitt)
Pawan Chitrakar [Thu, 15 Jul 2004 04:26:17 +0000 (04:26 +0000)]
Updated Nepali Translation
2004-07-15 Pawan Chitrakar <pawan@nplinux.org>
* ne.po: Updated Nepali Translation
Federico Mena Quintero [Thu, 15 Jul 2004 01:36:29 +0000 (01:36 +0000)]
Fix #126295:
2004-07-14 Federico Mena Quintero <federico@ximian.com>
Fix #126295:
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
indicator along the edge of the bin_window when the tree is empty.
(grab_focus_and_unset_draw_keyfocus): New helper function.
(gtk_tree_view_button_press): Remove a bit of superfluous code.
Use the helper function to save on duplicated code.
(gtk_tree_view_button_press): Grab the focus if the tree is empty.
(gtk_tree_view_focus): Allow focusing into an empty tree.
Matthias Clasen [Wed, 14 Jul 2004 17:19:04 +0000 (17:19 +0000)]
Don't use gcc extensions for the ternary ?: operator. (#147590, Damien
2004-07-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (add_credits_page): Don't use
gcc extensions for the ternary ?: operator. (#147590,
Damien Carbery)
Federico Mena Quintero [Wed, 14 Jul 2004 17:08:40 +0000 (17:08 +0000)]
Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
2004-07-14 Federico Mena Quintero <federico@ximian.com>
Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the
accessible object name for the tree view.
(create_file_list): Likewise.
Matthias Clasen [Wed, 14 Jul 2004 01:57:16 +0000 (01:57 +0000)]
Don't leak no_svg_filename. (#147399, Kjartan Maraas)
Tue Jul 13 21:53:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (free_unthemed_icon): Don't leak
no_svg_filename. (#147399, Kjartan Maraas)
Matthias Clasen [Tue, 13 Jul 2004 21:26:19 +0000 (21:26 +0000)]
Make this work in RTL context.
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
Make this work in RTL context.
Matthias Clasen [Tue, 13 Jul 2004 19:15:09 +0000 (19:15 +0000)]
Fix build error.
Federico Mena Quintero [Tue, 13 Jul 2004 18:25:48 +0000 (18:25 +0000)]
Set a busy cursor while mounting the volume. Also, ref the chooser while
2004-07-13 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a
busy cursor while mounting the volume. Also, ref the chooser
while mounting, as we may re-enter. Fixes #139376.
Matthias Clasen [Tue, 13 Jul 2004 17:56:29 +0000 (17:56 +0000)]
Prepare to handle composite implementations of GtkCellEditable, but
2004-07-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed):
Prepare to handle composite implementations of
GtkCellEditable, but recursively poking at
allocation->y (hack stolen from GtkCList).